const express = require('express');
const app = express();
const fs = require('fs');
app.get('/',(req, res, next) => {
    fs.readFile('abc.re', (e, chunk) => {
        if(!e){
            res.send('chunk')
        }

        // try {
        //
        // }catch(e){
        //     next(e.message)
        // }
    })
});
app.get('/ad', (err, req, res, next)=>{
    res.send(err)
}).listen(3000, ()=>{
    console.log('服务启动成功');
});

